package com.wulis.generator.config;

import lombok.Getter;

/**
 * @author WuliBao
 */
@Getter
public class ProjectConfig {

    /**
     * 项目地址
     */
    private String projectPath = System.getProperty("user.dir");
    /**
     * 包名称
     */
    private String packageName;
    /**
     * 功能模块
     */
    private String functionModule;

    public static ProjectConfig build() {
        return new ProjectConfig();
    }

    public ProjectConfig projectPath(String projectPath) {
        this.projectPath = projectPath;
        return this;
    }

    public ProjectConfig packageName(String packageName) {
        this.packageName = packageName;
        return this;
    }

    public ProjectConfig functionModule(String functionModule) {
        this.functionModule = functionModule;
        return this;
    }

}
